package xinxin.com.PrototypePatternBasic;

import xinxin.com.PrototypePatternBasic.ConcretePrototype.ConcretePrototype;

public class PrototypePatternBasic {
    public static void main(String[] args) {
        ConcretePrototype p1 = new ConcretePrototype("I");
        ConcretePrototype c1 = (ConcretePrototype) p1.Clone();
        System.out.println("Cloned: " + c1.getId());
    }
}
